package pikes.peak;

import java.util.HashMap;

import org.junit.Test;
import pikes.html.xhtml.Flow;
import pikes.html.xhtml.text.HorizontalRule;
import pikes.peak.Composite;
import pikes.peak.test.AssertHtml;
import pikes.peak.test.PikesPeakComponentTestCase;

public class LineTestCase extends PikesPeakComponentTestCase {

	@Test
	public void createLine() throws Exception {

		Flow expected = new HorizontalRule();

		Flow actual = Composite.LINE.createHtml(new HashMap(), pikesPeakRequest.getRequestContext());
		AssertHtml.assertEquals(expected, actual);
	}
}
